package io.renren.modules.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.modules.app.dao.OrderDao;
import io.renren.modules.app.entity.OrderEntity;
import io.renren.modules.app.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;

@Service
public class OrderServiceImpl extends ServiceImpl<OrderDao, OrderEntity> implements OrderService {
    @Resource
    private OrderDao orderDao;

    @Override
    public ArrayList<HashMap> searchUserOrderList(HashMap map) {
        ArrayList<HashMap> hashMaps = orderDao.searchUserOrderList(map);
        return hashMaps;
    }
}
